<template>
  <div class="hello">
    {{count}}/{{count2.flag}}
    <!--<input type="text" v-model="count">-->
  </div>
</template>

<script>
export default {
  name: 'HelloWorld',
  data(){
    return {
      count:this.$store.state.count,
      count2:this.$store.state.count2
    }
  }
  /*computed:{
    count(){
      return this.$store.state.count;
    },
    count2(){
      return this.$store.state.count2;
    }
  }*/
}
</script>

<style scoped>
h1, h2 {
  font-weight: normal;
}
ul {
  list-style-type: none;
  padding: 0;
}
li {
  display: inline-block;
  margin: 0 10px;
}
a {
  color: #42b983;
}
</style>
